<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <!-- Bootstrap -->
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        .row div {
            background-color: pink;
            height: 100px;
        }

        .row div:nth-child(3) {
            background-color: skyblue;
        }

        .row div span {
            font-size: 30px;
            text-align: center;
            line-height: 100px;
            color: #fff;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="col-xs-3">
                <!-- 只在大屏时显示 -->
                <span class="visible-lg">我只在大屏的时候显示</span>
            </div>
            <div class="col-xs-3">2</div>
            <!-- 在小屏幕下，中等屏幕才隐藏，大屏和超小屏幕下显示 -->
            <div class="col-xs-3 hidden-sm hidden-md">隐藏</div>
            <div class="col-xs-3">4</div>
        </div>
    </div>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
</body>

</html>